// StandardOfConstSpring.cpp: implementation of the StandardOfConstSpring class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "StandardOfConstSpring.h"

#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

StandardOfConstSpring::StandardOfConstSpring(const CString& strStandard):Standard(strStandard)
{

}

StandardOfConstSpring::~StandardOfConstSpring()
{

}

StandardOfConstSpring& StandardOfConstSpring::operator=(StandardOfConstSpring& standard)
{
	if(this == &standard)
		return *this;

	this->m_strBoltNutRodSelectTable = standard.m_strBoltNutRodSelectTable;
	this->m_strCrudeDataTable = standard.m_strCrudeDataTable;
	this->m_strDisplacementSerierTable = standard.m_strDisplacementSerierTable;
	this->m_strDisplacementUnit = standard.m_strDisplacementUnit;
	this->m_strIDDataTable = standard.m_strIDDataTable;
	this->m_strManufactory = standard.m_strManufactory;
	this->m_strMinSurplusDisplacement = standard.m_strMinSurplusDisplacement;
	this->m_strNutDiameterSerierTable = standard.m_strNutDiameterSerierTable;
	this->m_strObservation = standard.m_strObservation;
	this->m_strPropertyDataTable = standard.m_strPropertyDataTable;
	this->m_strRodDiameterOfConstSpringTable = standard.m_strRodDiameterOfConstSpringTable;
	this->m_strSurplusDisplacement = standard.m_strSurplusDisplacement;
	this->m_strFolder = standard.m_strFolder;

	this->SetStandardName(standard.GetStandard());
	this->SetStandardID(standard.GetStandardID());
	this->SetDescription(standard.GetDescription());

	return *this;

}